package com.dongdongshop.service;

import com.dongdongshop.common.PageResult;
import com.dongdongshop.pojo.TbGoods;
import com.dongdongshop.pojo.TbGoodsDesc;
import com.dongdongshop.pojo.TbGoodsES;

public interface TbGoodsService {
    PageResult<TbGoods> selectInfoLimitServer(TbGoods goods, Integer pageNumber, Integer pageSize);

    int addGoodsAndDesc(TbGoods goods, TbGoodsDesc goodsDesc, String listItem);

    TbGoods selectByGoodsId(Long goodsId);

    int getCommodityAuditIds(Long[] goodIds);

    int getCommodityFailIds(Long[] goodIds);

    PageResult<TbGoodsES> selectInfoLimitServerES(TbGoods goods, Integer pageNumber, Integer pageSize);

}
